using System;
using System.Collections.Generic;

namespace TaskFramework.Tests
{
    public class FetchTradesTaskFactory : ITaskFactory
    {
        public Type TaskRequestType
        {
            get { return typeof(FetchTradesRequest); }
        }

        public Task CreateTask(object requestData)
        {
            return new FetchTradesTask((FetchTradesRequest) requestData);
        }
    }
}